package scau.hotel.hotel_service.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import scau.hotel.hotel_service.validator.IsRoomNo;

import javax.validation.constraints.NotNull;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class RoomVo {
    /**
     * 房间id
     */
    private Integer roomId;
    /**
     * 房间编号
     */
    @NotNull(message = "房间编号不能为空")
    @IsRoomNo
    private String roomNo;
    /**
     * 房间状态
     */
    @NotNull(message = "房间状态不能为空")
    private String roomState;
    /**
     * 房型id
     */
    @NotNull(message = "请选择该房间所属房型")
    private Integer roomTypeId;


}
